package com.borrowed.book.book.domain;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

public class SMemberCardOutDto {
    @ApiModelProperty(value ="id",dataType = "Long",example = "年度会员")
    private Long id;

    @ApiModelProperty(value ="会员名称",dataType = "String",example = "年度会员")
    private String cardName;

    @ApiModelProperty(value ="默认图片地址",dataType = "String",example = "/usr/image.jpg")
    private String cardImage;

    @ApiModelProperty(value ="会员卡原价",dataType = "BigDecimal",example = "199")
    private BigDecimal cardPriceOrignal;

    @ApiModelProperty(value ="会员卡现价",dataType = "BigDecimal",example = "99")
    private BigDecimal cardPrice;

    @ApiModelProperty(value ="有效时长(周期)，表示几周，几个月",dataType = "Integer",example = "3")
    private Integer validTime;

    @ApiModelProperty(value ="有效时长单位，字典validTimeUnit",dataType = "String",example = "1")
    private String validTimeUnit;

    @ApiModelProperty(value ="有效时长单位",dataType = "String",example = "1")
    private String validTimeUnitStr;

    @ApiModelProperty(value ="会员卡使用说明",dataType = "String",example = "正品保证，往返包邮，百万商品，安全消毒，不限次数")
    private String cardExplain;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public String getCardImage() {
        return cardImage;
    }

    public void setCardImage(String cardImage) {
        this.cardImage = cardImage;
    }

    public BigDecimal getCardPriceOrignal() {
        return cardPriceOrignal;
    }

    public void setCardPriceOrignal(BigDecimal cardPriceOrignal) {
        this.cardPriceOrignal = cardPriceOrignal;
    }

    public BigDecimal getCardPrice() {
        return cardPrice;
    }

    public void setCardPrice(BigDecimal cardPrice) {
        this.cardPrice = cardPrice;
    }

    public Integer getValidTime() {
        return validTime;
    }

    public void setValidTime(Integer validTime) {
        this.validTime = validTime;
    }

    public String getValidTimeUnit() {
        return validTimeUnit;
    }

    public void setValidTimeUnit(String validTimeUnit) {
        this.validTimeUnit = validTimeUnit;
    }

    public String getValidTimeUnitStr() {
        return validTimeUnitStr;
    }

    public void setValidTimeUnitStr(String validTimeUnitStr) {
        this.validTimeUnitStr = validTimeUnitStr;
    }

    public String getCardExplain() {
        return cardExplain;
    }

    public void setCardExplain(String cardExplain) {
        this.cardExplain = cardExplain;
    }
}
